package net.wicp.tams.common.binlog.self.sender.impl;

import java.util.Map;

import net.wicp.tams.common.Result;
import net.wicp.tams.common.binlog.self.bean.SendBean;
import net.wicp.tams.common.binlog.self.sender.AbsSender;

/***
 * 不做任何动作
 * 
 * @author zhoujunhui
 *
 */
public class NoSender extends AbsSender {

	private final Result ret = Result.getSuc();

	@Override
	public void initSub(Map<String, String> params) {
		log.info("不做任何动作，用于性能测试等场合");
	}

	@Override
	public Result sendMsgSub(SendBean sendBean) {
		return ret;
	}

}
